package com.agile.springboot.service;

import com.agile.springboot.entity.User;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

import java.util.List;
import java.util.Map;

public interface UserService{

    int addUser(User user);

    int deleteUser(String user_id);

    int pscDeleteUser(String user_id);

    int updateUser(User user);

    List<User> searchUser(String user_name,int identity);

    User findUser(String user_name);

    User searchUserById(String id);

    Map<User,String> calculateCost();

    List<User> queryChildrenCreatedByParent(String user_id);
}
